﻿using AutoMapper;
using MyModule.Breeding;
using MyModule.ManageSheep;


namespace MyModule;

public class MyModuleApplicationAutoMapperProfile : Profile
{
    public MyModuleApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<WeighInfo, WeighInfoDTO>().ReverseMap();
        CreateMap<WeighType, WeighTypeDTO>().ReverseMap();
        CreateMap<VarietyInfo, VarietyInfoDTO>().ReverseMap();
        CreateMap<BodySize, BodySizeDTO>().ReverseMap();
        CreateMap<Appearance, AppearanceDTO>().ReverseMap();
        CreateMap<DeathInfo, DeathDTO>().ReverseMap();
        CreateMap<Eliminate, EliminateDTO>().ReverseMap();
        CreateMap<EliminateCause, EliminateCauseDTO>().ReverseMap();
        CreateMap<Dreproduction, DreproductionDTO>().ReverseMap();
        CreateMap<EliminateCause, EliminateCauseDTO>().ReverseMap();
        CreateMap<CauseInfo, CauseInfoDTO>().ReverseMap();
    }
}
